/**
 * @module 预布局控制器
 */
export const flagController = (roomkey) => {
    if (Game.rooms[roomkey].controller.level === 7) {
        Game.flags[`FlagTower`].pos.createConstructionSite(STRUCTURE_TOWER)
        Game.flags[`FlagFactory`].pos.createConstructionSite(STRUCTURE_TOWER)
        for (let i = 1; i < 11; i++) {
            Game.flags[`Flag${i}`].pos.createConstructionSite(STRUCTURE_EXTENSION)
        }
    }
}